window.ContactType = cc.Enum({
    BEGIN_CONTACT: 0,
    PRE_CONTACT: 1,
    POST_CONTACT: 2,
    END_CONTACT: 3
});

window.Contact = cc.Class({

    name: 'Contact',

    // constructor: contact
    ctor: function ctor() {
        this.contact = arguments[0];
    },

    properties: {
        targetBody: null,
        impulse: null,
        oldManifold: null
    },

    setEnabled: function setEnabled(e) {
        this.contact.SetEnabled(e);
    }
});